Canvas: DOORS Table

is there a way to show a table objects with out having the original main column in the same view; would like to show ">>Table" for the table within my canvas?

 

pragma runLim, 0

void mainColumn(Object o) {
        if (o."Object Heading" "" != "") {
                if (!null getCanvas) font(getCanvas, level(o), HeadingsFont)
                displayRich(number(o) " " o."Object Heading" "")
        } else if (o."Object Text" "" != "") {
                if (!null getCanvas) font(getCanvas, level(o), TextFont)
                displayRich(richTextWithOle(o."Object Text"))
        }
}

void showOut(Object o) {
        Link l             = null
        ModName_ otherMod  = null
        Object othero      = null

        for l in all(o->"*") do {
                ModuleVersion otherVersion = targetVersion l
                otherMod = module(otherVersion)
                if ( null otherMod || isDeleted otherMod ) {delete otherVersion; continue}
                othero = target l
                if ( null othero ) {load(otherVersion, false)}
                othero = target l
                if ( null othero ) {delete otherVersion; continue}
                if ( isDeleted othero ) {delete otherVersion; continue}

                //mainColumn
                if (table(othero)) {displayRich("{\\b >>Table}")}
                mainColumn(othero)
                //End mainColumn

                delete otherVersion
        }

}

showOut(obj)

 


EHcnck - Wed Aug 23 12:29:46 EDT 2017

Re: Canvas: DOORS Table
Mathias Mamsch - Thu Aug 24 03:06:01 EDT 2017

What we did once was to create a richtext table from the DOORS table and display it on the previous object. I think you will need to replace paragraphs by line feeds though. Looked a bit ugly but did the job. Regards, Mathias